
function buried (logType1, logType2, option = {}) {
    if (window && window.expLogJSON) {
        console.log(JSON.stringify(option))
        window.expLogJSON(logType1, logType2, JSON.stringify(option))
    } else {
        setTimeout(() => {
            buried(logType1, logType2, option)
        }, 1000)
    }

}

export default buried